from distutils.core import setup
import py2exe, glob

setup(
	windows=[{'script':'main.py'}],
	options={
		'py2exe':{
		'packages':'encodings', 
		'includes':'cairo, pango, pangocairo, atk, gobject', 
		}
	},
	data_files=[
		('glade', glob.glob('glade\\cargo.glade')),
        	('glade', glob.glob('glade\\caso.glade')),
		('glade', glob.glob('glade\\cliente.glade')),
                ('glade', glob.glob('glade\\estado.glade')),
                ('glade', glob.glob('glade\\find.glade')),
                ('glade', glob.glob('glade\\funcionario.glade')),
                ('glade', glob.glob('glade\\login.glade')),
                ('glade', glob.glob('glade\\main.glade')),
                ('glade', glob.glob('glade\\prioridade.glade')),
                ('glade', glob.glob('glade\\tarefa.glade')),
                ('glade', glob.glob('glade\\usuario.glade')),
                ('relatorio', glob.glob('relatorio\\__init__.py')),
                ('relatorio/glade', glob.glob('relatorio\\glade\\cliente.glade')),
                ('relatorio/glade', glob.glob('relatorio\\glade\\tarefa_por_cliente.glade')),
                ('relatorio/modelo', glob.glob('relatorio\\modelo\\cliente.rel')),
                ('relatorio/modelo', glob.glob('relatorio\\modelo\\tarefa_por_cliente.rel')),
                ('relatorio/data', glob.glob('relatorio\\data\\cliente.py')),
                ('relatorio/data', glob.glob('relatorio\\data\\__init__.py')),
                ('relatorio/data', glob.glob('relatorio\\data\\tarefa_por_cliente.py')),
                ('relatorio/input', glob.glob('relatorio\\input\\cliente.py')),
                ('relatorio/input', glob.glob('relatorio\\input\\__init__.py')),
                ('relatorio/input', glob.glob('relatorio\\input\\tarefa_por_cliente.py')),
                ('relatorio', glob.glob('relatorio\\relatorio.glade')),
                ('relatorio', glob.glob('relatorio\\base.py')),

		('etc/fonts', glob.glob('etc\\fonts\\*')),
		('etc/gtk-2.0', glob.glob('etc\\gtk-2.0\\*')),
		('etc/pango', glob.glob('etc\\pango\\*')),

		('share/images', glob.glob('share\\images\\login.jpg')),
		('share/themes/Default/gtk-2.0-key', glob.glob('share\\themes\\Default\\gtk-2.0-key\\*')),
		('share/themes/MS-Windows/gtk-2.0', glob.glob('share\\themes\\MS-Windows\\gtk-2.0\\*')),
		('share/themes/Metal/gtk-2.0', glob.glob('share\\themes\\Metal\\gtk-2.0\\*')),
		('share/themes/Raleigh/gtk-2.0', glob.glob('share\\themes\\Raleigh\\gtk-2.0\\*')),
		('share/themes/Redmond95/gtk-2.0', glob.glob('share\\themes\\Redmond95\\gtk-2.0\\*')),

		('lib/pango/1.5.0/modules', glob.glob('lib\\pango\\1.5.0\\modules\\*')),
		('lib/gtk-2.0/2.4.0', glob.glob('lib\\gtk-2.0\\2.4.0\\*.*')),
		('lib/gtk-2.0/2.4.0/immodules', glob.glob('lib\\gtk-2.0\\2.4.0\\immodules\\*')),
		('lib/gtk-2.0/2.4.0/loaders', glob.glob('lib\\gtk-2.0\\2.4.0\\loaders\*')),
		('lib/gtk-2.0/2.4.0/engines', glob.glob('lib\\gtk-2.0\\2.4.0\\engines\\*')),
	]
)
